.class Lcom/netease/newsreader/activity/AccountRegister$2;
.super Ljava/lang/Object;
.source "AccountRegister.java"

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/AccountRegister;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/AccountRegister;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/AccountRegister;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/AccountRegister$2;->this$0:Lcom/netease/newsreader/activity/AccountRegister;

    .line 113
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .locals 2
    .parameter "buttonView"
    .parameter "isChecked"

    .prologue
    .line 118
    if-eqz p2, :cond_0

    .line 119
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountRegister$2;->this$0:Lcom/netease/newsreader/activity/AccountRegister;

    invoke-static {v0}, Lcom/netease/newsreader/activity/AccountRegister;->access$2(Lcom/netease/newsreader/activity/AccountRegister;)Landroid/widget/EditText;

    move-result-object v0

    invoke-static {}, Landroid/text/method/HideReturnsTransformationMethod;->getInstance()Landroid/text/method/HideReturnsTransformationMethod;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setTransformationMethod(Landroid/text/method/TransformationMethod;)V

    .line 123
    :goto_0
    return-void

    .line 121
    :cond_0
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountRegister$2;->this$0:Lcom/netease/newsreader/activity/AccountRegister;

    invoke-static {v0}, Lcom/netease/newsreader/activity/AccountRegister;->access$2(Lcom/netease/newsreader/activity/AccountRegister;)Landroid/widget/EditText;

    move-result-object v0

    invoke-static {}, Landroid/text/method/PasswordTransformationMethod;->getInstance()Landroid/text/method/PasswordTransformationMethod;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setTransformationMethod(Landroid/text/method/TransformationMethod;)V

    goto :goto_0
.end method
